import request from '../utils/request';
import { PAGE_SIZE } from '../constants';

export async function getAll() {
  return request('users/getAll',{
    method:'get',
  });
}
export async function remove(id) {
  console.log('22222222');
  console.log('11111',id);
  return request('users',{
    method:'delete',
    data:JSON.stringify(id)
  });
}
